package com.xbjtech.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xbjtech.mapper.SellerMapper;
import com.xbjtech.model.Seller;
import com.xbjtech.model.SellerExample;
import com.xbjtech.service.SellerService;

@Service
public class SellerServiceImpl implements SellerService {

	@Autowired
	SellerMapper sellerMapper;
	
	public List<Seller> list(SellerExample example) {
		return sellerMapper.selectByExample(example);
	}

	public Seller selectSellerById(Long id) {
		return sellerMapper.selectByPrimaryKey(id);
	}

}
